﻿<UserControl x:Class="Assembly.Metro.Controls.Sidebar.LOGSidebarButton"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             Width="25" Height="75">

    <Grid>
        <Rectangle x:Name="SelectionIndicator" Width="6" HorizontalAlignment="Right" Fill="#3f3f46" />

        <TextBlock x:Name="SidebarName" Text="  History Log" Foreground="White" RenderTransformOrigin="0.5,0.5" Height="15" Margin="-25,30" FontFamily="{DynamicResource MetroFontRegular}" >
            <TextBlock.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform/>
                    <RotateTransform Angle="90"/>
                    <TranslateTransform/>
                </TransformGroup>
            </TextBlock.RenderTransform>
        </TextBlock>

        <Rectangle Fill="#ffffffff" Opacity="0" MouseDown="Rectangle_MouseDown" IsMouseDirectlyOverChanged="Rectangle_IsMouseDirectlyOverChanged" />
    </Grid>
</UserControl>
